package com.smartEdu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.smartEdu.commons.Session;
import com.smartEdu.commons.system.AcademicCommon;

@Controller
@RequestMapping(value="/api")
public class ConstantsController {
	
	@RequestMapping(value="/academiclist")
	@ResponseBody
	protected Object GetAcademics(Session sess) {
		AcademicCommon academic = AcademicCommon.GetInstance();
		academic.GetRedis(sess);
		return sess.geto("ACADEMICLIST");
	}
}
